﻿using B.S.DataBase.MyProject.Domain.诊疗管理;
using B.S.DataBase.MyProject.ErrorCode;
using MediatR;
using SqlSugar;

namespace MedicalPCTerminal.Write.API.Appcation.Commands.DiagnosisTreatment
{
    /// <summary>
    /// 采集管理命令
    /// </summary>
    public class AddCollectionManagementCommand : IRequest<APIResult<int>>
    {
        /// <summary>
        /// 编号
        /// </summary>
        [SugarColumn(IsIdentity = true, IsPrimaryKey = true)]
        public int CId { get; set; }
        /// <summary>
        /// 就诊号
        /// </summary>
        public string CollCode { get; set; }
        /// <summary>
        /// 姓名
        /// </summary>
        public string CollName { get; set; }
        /// <summary>
        /// 性别
        /// </summary>
        public string Sex { get; set; }
        /// <summary>
        /// 证件号
        /// </summary>
        public string IdentityCard { get; set; }
        /// <summary>
        /// 身高cm
        /// </summary>
        public int Height { get; set; }
        /// <summary>
        /// 体重
        /// </summary>
        public int Weight { get; set; }
        /// <summary>
        /// BMI
        /// </summary>
        public decimal BIM { get; set; }
        /// <summary>
        /// 空腹血糖
        /// </summary>
        public decimal FastingBloodGlucose { get; set; }
        /// <summary>
        /// 餐后2小时血糖
        /// </summary>
        public decimal PostprandialBloodGlucose { get; set; }
        /// <summary>
        /// 总胆固醇
        /// </summary>
        public decimal Cholesterol { get; set; }
        /// <summary>
        /// 甘油三酯
        /// </summary>
        public decimal Triglyceride { get; set; }
        /// <summary>
        /// 高密度脂蛋白胆固醇
        /// </summary>
        public decimal HDLCholesterol { get; set; }
        /// <summary>
        /// 低密度脂蛋白胆固醇
        /// </summary>
        public decimal LDLCholesterol { get; set; }
        /// <summary>
        ///  用户编号
        /// </summary>
        public int UserId { get; set; }
        /// <summary>
        /// 测试时间
        /// </summary>
        public DateTime CreateTime { get; set; }
        /// <summary>
        /// 标记删除
        /// </summary>
        public bool IsDeleted { get; set; }

        /// <summary>
        /// 血压测量
        /// </summary>
        public List<BloodPressureTest> BloodPressureTest { get; set; }
    }
}
